package com.cntcdt.api.service.impl;

import java.util.List;

import com.cntcdt.api.db.dao.UpdateLogDetailsDao;
import com.cntcdt.api.db.model.UpdateLogDetailsModel;
import com.cntcdt.api.service.UpdateLogDetailsService;

public class UpdateLogDetailsServiceImpl implements UpdateLogDetailsService {

	@Override
	public List<UpdateLogDetailsModel> findByLogId(int logId) {
		return UpdateLogDetailsDao.getInstance().findByLogId(logId);
	}

	@Override
	public int insertModel(UpdateLogDetailsModel updateLogDetail) {
		return UpdateLogDetailsDao.getInstance().insert(updateLogDetail);
	}

}
